package com.gmd.consultamedica.repository;

import javax.persistence.EntityManager;

import com.gmd.consultamedica.model.SignovitalDAO;
import com.gmd.model.Signovital;

public class JPASignovitalDAO implements SignovitalDAO{

	EntityManager em;
	
	public JPASignovitalDAO(EntityManager em) {
		this.em = em;
	}
	
	@Override
	public Signovital insert(Signovital o) {
		em.persist(o);
		return o;
	}

}
